package com.gitee.wsl

import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.IO
import kotlinx.coroutines.runBlocking
import kotlin.coroutines.CoroutineContext


actual val Lib.ioDispatcher: CoroutineDispatcher
    get() =  Dispatchers.IO

//actual fun <T> Lib.runBlock(context: CoroutineContext, block: suspend CoroutineScope.() -> T): T {
//    return runBlocking(context = context, block = block)
//}